package Configuration;

import Controller.Tasker;

public class Account {

	private String link;
	private Refresh refresh;
	private boolean startup;
	private Backup backup;
	public Account(String link, int r_type, int r_time, boolean start, String ba_link, int ba_ty, int ba_ti, boolean ba_au,Tasker tasker)
	{
		this.link=link;
		refresh = new Refresh(r_type, r_time, tasker);
		this.startup=start;
		backup= new Backup(ba_link, ba_ty, ba_ti, ba_au, tasker);
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public Refresh getRefresh() {
		return refresh;
	}
	public void setRefresh(Refresh refresh) {
		this.refresh = refresh;
	}
	public boolean isStartup() {
		return startup;
	}
	public void setStartup(boolean startup) {
		this.startup = startup;
	}
	public Backup getBackup() {
		return backup;
	}
	public void setBackup(Backup backup) {
		this.backup = backup;
	}
}